package com.dlc.felear.xiaoensale.utils;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.util.Log;

public class MyLog {
    private static boolean flag = true;
    private static String TAG = "xiaoen_log";
    private static Context context;



    public static void e(String tag, String msg) {
        if (flag) {
            Log.e(tag, msg);
        }
    }
    public static void setFlag(boolean flag1){
        flag=flag1;
    }
    public static void e(String msg) {
        if (flag) {
            Log.e(TAG, msg);
        }
    }
}